package com.gxa.customer.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.common.pojo.House;
import com.gxa.common.pojo.SysMenu;
import com.gxa.common.pojo.SysRole;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PermissionMapper extends BaseMapper<SysMenu> {
    //根据角色获取菜单
    List<SysMenu> selectAllMenuByRoleId(@Param("roleId")Long roleId);
}
